#pragma once
#include <crow.h>
#include <model/dto/member/points_reward_item_dto.hpp>
#include <string>

class PointsRewardItemService {
  public:
  static ServiceResult create(PointsRewardItemDTO& dto);
  static ServiceResult updateByItemId(const std::string& item_id,
                                      PointsRewardItemDTO& dto);
  static ServiceResult removeByItemId(const std::string& item_id);
  static ServiceResult getByPage(const int page, const int page_size);
  static ServiceResult getAll();
};
